Bookly\Lib\Slots\Finder D

Total Complexity 140
Dependencies 28
Dependents 2
Total lines 827
Lines of code 532
Logical lines of code 264
Comment lines 186
Methods 20
Properties 19

Methods 20

Method Rating Maintainability Complexity Lines of code
_prepareStaffData()
D
21
36 202
_generate()
C
34 26 88
load()
A
43 14 46
handleCartBookings()
A
44 12 42
_prepareServiceSchedule()
A
49 12 29
_prepareDates()
S
51 7 26
__construct()
S
53 7 22
getSelectedDateForPickadate()
S
56 6 20
getDisabledDaysForPickadate()
S
56 4 17
_groupDefault()
S
72 3 5
_stopDayPerColumn()
S
79 2 3
_stopDefault()
S
79 2 3
_breakDefault()
S
77 2 3
_stopCalendar()
S
80 1 3
prepare()
S
75 1 5
setLastFetchedSlot()
S
72 1 5
setSelectedDate()
S
77 1 4
getSlots()
S
82 1 3
hasMoreSlots()
S
82 1 3
isServiceDurationInDays()
S
80 1 3